package com.yao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.security.authentication.AuthenticationManager;

/**
 * Copyright (C), 2022-2022, 姚兵
 * Author: 32210
 * Date: 2022/11/2 13:34
 * FileName: Oauth2DemoApplication
 * Description:
 */

@SpringBootApplication
@MapperScan("com.yao.mapper")
@EnableAspectJAutoProxy
public class Oauth2DemoApplication {
    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(Oauth2DemoApplication.class, args);
        for (String s : context.getBeanNamesForType(AuthenticationManager.class)) {
            System.out.println(s);
        }
    }
}
